package com.ruoyi.fapiao.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * fapiao对象 fapiao_info
 * 
 * @author xxxmatata
 * @date 2025-05-19
 */
public class FapiaoInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long fapiaoId;

    /** 发票代码 */
    @Excel(name = "发票代码")
    private String fapiaoCode;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String fapiaoNumber;

    /** 发票类型 */
    @Excel(name = "发票类型")
    private String fapiaoType;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal taxAmount;

    /** 价税合计 */
    @Excel(name = "价税合计")
    private BigDecimal totalAmount;

    /** 销售方名称 */
    @Excel(name = "销售方名称")
    private String sellerName;

    /** 购买方名称 */
    @Excel(name = "购买方名称")
    private String buyerName;

    /** 开票日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    /** 报销状态 */
    @Excel(name = "报销状态")
    private String status;

    /** 文件存储路径 */
    @Excel(name = "文件存储路径")
    private String filePath;

    /** 文件类型 */
    @Excel(name = "文件类型")
    private String fileType;

    public void setFapiaoId(Long fapiaoId) 
    {
        this.fapiaoId = fapiaoId;
    }

    public Long getFapiaoId() 
    {
        return fapiaoId;
    }
    public void setFapiaoCode(String fapiaoCode) 
    {
        this.fapiaoCode = fapiaoCode;
    }

    public String getFapiaoCode() 
    {
        return fapiaoCode;
    }
    public void setFapiaoNumber(String fapiaoNumber) 
    {
        this.fapiaoNumber = fapiaoNumber;
    }

    public String getFapiaoNumber() 
    {
        return fapiaoNumber;
    }
    public void setFapiaoType(String fapiaoType) 
    {
        this.fapiaoType = fapiaoType;
    }

    public String getFapiaoType() 
    {
        return fapiaoType;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setTaxAmount(BigDecimal taxAmount) 
    {
        this.taxAmount = taxAmount;
    }

    public BigDecimal getTaxAmount() 
    {
        return taxAmount;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setSellerName(String sellerName) 
    {
        this.sellerName = sellerName;
    }

    public String getSellerName() 
    {
        return sellerName;
    }
    public void setBuyerName(String buyerName) 
    {
        this.buyerName = buyerName;
    }

    public String getBuyerName() 
    {
        return buyerName;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileType(String fileType) 
    {
        this.fileType = fileType;
    }

    public String getFileType() 
    {
        return fileType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fapiaoId", getFapiaoId())
            .append("fapiaoCode", getFapiaoCode())
            .append("fapiaoNumber", getFapiaoNumber())
            .append("fapiaoType", getFapiaoType())
            .append("amount", getAmount())
            .append("taxAmount", getTaxAmount())
            .append("totalAmount", getTotalAmount())
            .append("sellerName", getSellerName())
            .append("buyerName", getBuyerName())
            .append("issueDate", getIssueDate())
            .append("category", getCategory())
            .append("status", getStatus())
            .append("filePath", getFilePath())
            .append("fileType", getFileType())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
